// 邮箱选项
import React, { Component } from 'react';
import {
    View,
    Text,
    TouchableOpacity,
} from 'react-native';


import { rtopeditStyle as styles } from '../../../../../styles';
import Icon from 'react-native-vector-icons/Ionicons';

var Dimensions = require('Dimensions');
var width = Dimensions.get('window').width;          //获取屏幕宽度
var height = Dimensions.get('window').height;



export default class Echange_top extends Component {

    constructor(props) {            //构造器只执行一次
        super(props);
    };

    render() {
        return (
            <View style={[styles.rtopin, {
                    width: width * 1,
                    elevation: 5,
                    shadowColor: 'black',
                    shadowOpacity: 1,
                    shadowRadius: 5 }]}>

                    <TouchableOpacity activeOpacity={1} style={styles.rtopicon1} onPress={() => { this.props.navigation.goBack() }}>
                        <Icon
                            name={'ios-arrow-back'}
                            size={25}
                            color={'#ffffff'} />
                    </TouchableOpacity>
                    <Text style={styles.rtoptext}>验证邮箱</Text>
                </View >
        )
    }
}